From: Dan Winship Date: Tue, 20 Jul 2010 18:22:41 +0000 (-0400) Subject: Remove Alt+W/A/S/D hack X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~9716 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=dc5ceffe4006e872ef7b82b8061cbef73204ece4;p=gnome-shell.git Remove Alt+W/A/S/D hack This was just for use within Xephyr, and gnome-shell doesn't work in Xephyr any more anyway. https://bugzilla.gnome.org/show_bug.cgi?id=624858 --- diff --git a/js/ui/altTab.js b/js/ui/altTab.js index 6a4ba0c51..a72396a02 100644 --- a/js/ui/altTab.js +++ b/js/ui/altTab.js @@ -221,9 +221,6 @@ AltTabPopup.prototype = { this._disableHover(); - // The WASD stuff is for debugging in Xephyr, where the arrow - // keys aren't mapped correctly - if (keysym == Clutter.grave) this._select(this._currentApp, this._nextWindow()); else if (keysym == Clutter.asciitilde) @@ -241,22 +238,22 @@ AltTabPopup.prototype = { this._select(this._previousApp()); else this._select(this._currentApp, this._previousWindow()); - } else if (keysym == Clutter.Left || keysym == Clutter.a) + } else if (keysym == Clutter.Left) this._select(this._currentApp, this._previousWindow()); - else if (keysym == Clutter.Right || keysym == Clutter.d) + else if (keysym == Clutter.Right) this._select(this._currentApp, this._nextWindow()); - else if (keysym == Clutter.Up || keysym == Clutter.w) + else if (keysym == Clutter.Up) this._select(this._currentApp, null, true); } else { if (keysym == Clutter.Tab) this._select(this._nextApp()); else if (keysym == Clutter.ISO_Left_Tab) this._select(this._previousApp()); - else if (keysym == Clutter.Left || keysym == Clutter.a) + else if (keysym == Clutter.Left) this._select(this._previousApp()); - else if (keysym == Clutter.Right || keysym == Clutter.d) + else if (keysym == Clutter.Right) this._select(this._nextApp()); - else if (keysym == Clutter.Down || keysym == Clutter.s) + else if (keysym == Clutter.Down) this._select(this._currentApp, 0); }